import Layout from '@/layout'

const businessRecordRouter = {
  path: '/amszs/businessRecord',
  component: Layout,
  redirect: '/amszs/businessRecord/index',
  name: 'businessRecord',
  alwaysShow: true,
  meta: {
    title: '业务记录',
    icon: 'clipboard'
  },
  children: [
    {
      path: 'index',
      component: () => import('@/views/amszs/businessRecord/index'),
      name: 'businessRecordindex',
      meta: { title: '业务记录' }
    },
    {
      path: 'businessRecordDetail/:id?',
      component: () => import('@/views/amszs/businessRecord/businessRecordDetail.vue'),
      name: 'businessRecordDetail',
      meta: { title: '业务详情' }
    },
    {
      path: 'businessRecordEadd/:id?',
      component: () => import('@/views/amszs/businessRecord/businessRecordEadd.vue'),
      name: 'businessRecordEadd',
      meta: { title: '业务添加修改' }
    }
  ]
}

export default businessRecordRouter